
package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpTasksSplit extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpTasksSplit() {}
	public PmpTasksSplit(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="原任务不能为空")

	  private java.lang.Long originTaskId;
 

	@javax.validation.constraints.NotNull(message="新任务不能为空")

	  private java.lang.Long newTaskId;
 
	
	private java.lang.String chargeUserName;
 

	 private java.lang.Long chargeUserId;
 

	  private java.util.Date createtime;
 

	@javax.validation.constraints.NotNull(message="创建者不能为空")

	  private java.lang.Long creatorUserId;
 
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="创建者长度不能大于255")
	  private java.lang.String creatorUserName;
 
	
	//<-------------------------------------------->
	public PmpTasksSplit setOriginTaskId(java.lang.Long originTaskId){
	 this.originTaskId=originTaskId;
	 return this;
	}
	public java.lang.Long getOriginTaskId(){
		return this.originTaskId;
	}
	public PmpTasksSplit setNewTaskId(java.lang.Long newTaskId){
	 this.newTaskId=newTaskId;
	 return this;
	}
	public java.lang.Long getNewTaskId(){
		return this.newTaskId;
	}
	public PmpTasksSplit setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpTasksSplit setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpTasksSplit setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpTasksSplit setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public PmpTasksSplit setCreatorUserName(java.lang.String creatorUserName){
		this.creatorUserName=creatorUserName==null?null:creatorUserName.trim();
	 return this;
	}
	public java.lang.String getCreatorUserName(){
		return this.creatorUserName;
	}
	
}
